package com.koron.ticket.work.securityarrangement.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SecurityArrangement {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "工作票id")
    private String workTicketId;

    @ApiModelProperty(value = "分类")
    private String type;

    @ApiModelProperty(value = "安全措施项目")
    private String item;

    @ApiModelProperty(value = "安全措施项对应对象")
    private String value;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否确认：0-否；1-是")
    private Integer isInvolve;

    @ApiModelProperty(value = "确认人帐号")
    private String involveAcc;

    @ApiModelProperty(value = "确认人名称")
    private String involveName;

    @ApiModelProperty(value = "是否必填标志：0-否；1-是")
    private Integer requiredFlag;

    @ApiModelProperty(value = "0-在使用；1-已删除")
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;

}
